<?php
namespace app\models;

use yii\base\Model;

class Test extends Model
{
	public $username;
	public $password;

	public function rules(){
		return [
			['username','safe'],
		];
	}
}